name = "黑马程序员"
message = "学IT来:%s" % name
print(message)


# 通过占位的形式,完成数字和字符串的拼接
class_num = 57
avg_salary = 16781
message = "pythonn大数据学科，北京%s期，毕业平均工资：%d" %(class_num, avg_salary)
print(message)
name = "传智播客"
setup_year = 2006
stock_price = 19.99
message = "%s 成立于：%d 年，我今天的股价是：%f" %(name, setup_year, stock_price)
print(message)